﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Runda.CMS.Bll;
using Runda.CMS.Common.Entity;

namespace Runda.CMS.Portal.Services
{
    public partial class CustomerService : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.ContentType = "text/plain";

            MaintainBillBll bll = new MaintainBillBll();

            if (Request["CustomerID"] != null)
            {
                WsmCustomerExtensionEntity entity = bll.Get<WsmCustomerExtensionEntity>(new Guid(Request["CustomerID"]));
                if (entity != null)
                {
                    Response.Write(entity.CustomerArea);
                }
                else
                {
                    Response.Write("");
                }
            }
            else
            {
                Response.Write("");
            }
            //必须收尾            
            Response.End();
        }
    }
}
